Simplified entanglement swapping protocol for the quantum Internet

In this study, a simplified version of the entanglement-swapping protocol, commonly used in the deployment of quantum networks, is presented. Quantum repeaters are essential in extending the range of quantum networks, especially when they are implemented through the laying of optical fiber. The simplified version of the entanglement-swapping protocol does not require the use of unitary transforms to finish characterizing the shared Bell state at both ends to be connected, as happens in the traditional version of the protocol, facilitating and reducing costs in quantum repeater implementations. Both a theoretical demonstration and an experimental one on an optical table, based on two revealing experiments, show the excellent performance of the presented protocol.


Simplified entanglement swapping
Entanglement swapping protocol [69][70][71][72][73][74][75] is represented in Fig. 1, which shows two independent EPR (Einstein-Podolsky-Rosen) 6 sources of entanglement photons, one quantum repeater 66 , and the resulting density matrix between the extreme qubits q[0] and q [3].The first EPR source is allocated between the qubits q[0] and q[1], while the second one is between the qubits q [2] and q [3].At the output of each crystal used to generate the entangled photons, the Bell 6 state obtained is of the following type: where , and the relative phase ϕ depends mainly on the phase-matching conditions and the width of the crystal used 77 .However, in order not to complicate the subsequent theoretical deduction of the new protocol, the Bell state considered here will be the following: (1) . Sketch of the entanglement swapping protocol composed of three well-defined sectors: two independent EPR sources of the |β 00 �-type, one quantum repeater between both sources, and the density matrix of the final state ρ |β 00 � , where a gray element represents a value of 0.5, while a white element is equal to a value of 0.
where CNOT =    1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0    is the Feynman's gate 6 , H = 1 √ 2 1 1 1 −1 is the Hadamard's gate 6 , I = 1 0 0 1 is the identity matrix, (•) T means transpose of (•), and ⨂ is the Kronecker's product 6 .As we will see in the experiments on the optical table, all measurement modules will be implemented using polarizing beam-splitting (PBS) 77 , and avalanche photodiodes (APD), and configured according to the H/V basis.Since we will use PBSs of the best quality on the market, and we consider that we will manipulate Bell states of the type of Eq. ( 2), we expect quasi-perfectly equiprobable outputs for both faces of the PBSs used in configurations like that of Fig. 1: where M is the measurement operator, P h is the horizontal polarization operator, and P v is the vertical polarization operator.
In Fig. 1, the intervention of the quantum repeater gives rise to transitivity (q[0] is entangled with q[1], and q [2] is entangled with q[3] ⟹ q[0] is entangled with q[3], but q[1] is not entangled with q [2]), where the original entangled states at the output of each EPR source end up linking in a new unique and final Bell state, between the qubits furthest from the configuration, which is concomitant with the idea of extending the range of the entanglement so that the quantum network reaches where it is necessary.
From now on, in all theoretical figures, single lines represent quantum wires, while double lines will be classical wires.
The resulting density matrix, between the extreme qubits q[0] and q [3], will be identical to the density matrices of the original EPR sources between the respective qubits q[0] and q[1], and q [2] and q [3].In consequence, considering Eq. ( 2), yields: Therefore, in the following theoretical figures, a gray element of the density matrix represents a value of 0.5, while a white element is equal to a value of 0.
Figure 2 shows a more complete intervention of the entanglement swapping protocol when it is used with four independent EPR sources, then intervening three quantum repeaters, but with identical results to the previous Figure 2. Sketch of the entanglement swapping protocol composed of three well-defined sectors: four independent EPR sources of the |β 00 �-type, three quantum repeaters between those sources, and the density matrix of the final state ρ |β 00 � .The application of the protocol is carried out by grouping the states of the |β 00 � -type in pairs until reaching a single final state between the extreme qubits q[0] and q [7], thus reaching the maximum extension of the entanglement range for this configuration.
case, given that we obtain a density matrix like that of Eq. ( 4) between the most extreme qubits, i.e., q[0] and q [7].In this case, we are in the presence of a double transitivity, because the application of the protocol takes place involving pairs of EPR sources.Thus, q[0] is entangled with q[1], and q[2] is entangled with q[3] ⟹ q[0] is entangled with q[3]; but q[1] is not entangled with q[2], and q[4] is entangled with q[5], and q[6] is entangled with q[7] ⟹ q[4] is entangled with q[7]; but q [5] is not entangled with q[6], ⟹ q[0] is entangled with q[7]; but q[3] is not entangled with q [4].
Figure 3 shows the simplified entanglement swapping protocol applied to the simplest possible case, which is equivalent to that of Fig. 1 for the original version of the protocol.In this case, we will proceed to the theoretical deduction of the protocol to verify its performance.For this, we calculate the joint state of the four qubits at each of the six instants (t i ∀i ∈ [0, 5]) indicated in Fig. 1: . Sketch of the proposed entanglement swapping protocol also composed of three well-defined sectors: two independent EPR sources of the |β 00 �-type, one quantum repeater between both sources and the density matrix of the final state ρ |β 00 � , where the only difference with the scheme in Fig. 1 lies in the quantum repeater.5f) is the same one obtained in the far right of Fig. 3, where we have a shared state of the |β 00 �-type between the qubits q[0] and q [3], while the central qubits remain at |0� .We also noticed a drop of 3dB, i.e., ½, in the final state modulus due to the action of both horizontal polarizers P h .However, this decay only takes place in the central qubits and not in the extreme ones, i.e., those that share the |β 00 � state, which is complete and without attenuation.
In other words, at time t 5 in Fig. 3 we obtain the same identity matrix as that of the original protocol in Figs. 1  and 2, with gray elements at ½ and white elements at 0.
Comparing both versions of the entanglement swapping protocol, see Figs. 1 and 3, we can observe the simplicity of the new version compared to the traditional one.
In Appendix A, we discuss the impact of non-maximal entangled states because of the presence of noise in the quantum channel, which degrades the fidelity of the entanglement.
Figure 4 shows an extension of the new protocol of Fig. 3, which inherits the simplicity in the transitivity from the last one, but for the case of four independent EPR sources and three quantum repeaters.As in Figs. 1  and 2, in Figs. 3 and 4 we can see three well-defined areas: EPR sources, quantum repeaters, and density matrix (outcomes).In Fig. 4, the total absence of classic channels, as well as the unitary transforms associated with them, simplifies implementation, lowers costs, and reduces the time involved in the project.Finally, as we will see in the experiments on the optical table, the great regularity in the structure of the quantum repeater modules will be reflected in their optical implementation, where said implementation will be exclusively optical with all the advantages that this will entail for the future industry associated with the future quantum internet [32][33][34][35][36][37][38][39][40][41] .

Bell state change test
Below is the theoretical description of the first experiment that will help us evaluate the performance of the new entanglement swapping protocol. (5e) Figure 4. Sketch of the new entanglement swapping protocol is also composed of three well-defined sectors: four independent EPR sources of the |β 00 �-type, three quantum repeaters between those sources, and the density matrix of the final state ρ |β 00 � .As in Fig. 2, the application of the new protocol is carried out by grouping the states of the |β 00 �-type in pairs until reaching a single final state between the extreme qubits q[0] and q [7], thus reaching the maximum extension of the entanglement range for this configuration.
In the upper right corner of Fig. 5, after carrying out the supposedly successful entanglement swapping by the new protocol, we introduce two gates, of the Pauli 6 matrix type {X, Z}, in the qubit q[0]: Each with its respective activation bit, i.e., phase and parity bits {b x , b z }.Both gates will be implemented on the optical table as two half-wave plates (HWP).
The experiment consists of demonstrating that as a result of the action of the new protocol, two originally independent qubits, such as q[0] and q [3], are now maximally correlated, sharing a Bell state of the |β 00 �-type, in such a way that the activation of the X and Z gates will force a change of state in the Bell state between both qubits.This can be seen in detail in Table 1, where if we assume the success of the protocol, the qubits q[0] and q [3] will share a Bell state of the |β 00 �-type, for b x = 0 and b z = 0, i.e., both qubits are correlated.However, if, for example, we activate the parity bit b x , the gate X, we then go from the state of Bell |β 00 � to the state of Bell |β 01 � , with the qubits q[0] and q [5] now being anti-correlated.The transitions between Bell states in Table 1 should be checked on the optical table by comparing and analyzing the correlations between the qubits q[0] and q [5].
As a theoretical check, if the final state of Eq. (5f) we first apply a SWAP gate between the states q[3] and q[2], and then another SWAP gate between the qubits q[2] and q[3], we will have: If we now activate the parity bit, i.e., b x = 1, we will thus activate the gate X in Fig. 5, therefore, the state of Eq. (5f) will be affected as follows: If we now apply to Eq. ( 7) the same procedure that concluded in Eq. ( 6), we will have: ( 6) Table 1.Maximally entangled states in terms of phase (b z ) and parity (b x ) bits.www.nature.com/scientificreports/Equations ( 6) and ( 8) constitute a double theoretical verification that the new protocol works correctly, given that the following can be directly observed: (1) at the output of Fig. 3 we effectively have a shared state of type |β 00 � between the qubits q[0] and q [3] and as a consequence, (2) by applying the X gate to the qubit q[0], a new Bell state is shared between the qubits q[0] and q [3], where in this case it is a |β 01 � state.
Finally, Fig. 6 shows the theoretical 3D density matrices of the Bell states in terms of phase and parity bits {b x , b z }.During the implementation of this experiment on the optical table, we will compare these matrices with those obtained there.As we have mentioned before, in that case, both Pauli matrices {X, Z} will be implemented by adjustments to the angles θ of two half-wave plates (HWPs), where said angle will be θ = {0, π/4} ⇌ {X, Z}, respectively.

Bell test from two independent sources of entangled photons
Except for the fact that the Bell state of the |β 00 �-type, shared between the qubits q[0] and q [3], results from the application of the presented entanglement swapping protocol, given that before this these qubits were completely independent, the experiment Fig. 7 represents a simple Bell test [78][79][80][81] .In this way, if the protocol works correctly and the qubits q[0] and q [3] really share a Bell state of the |β 00 � -type, the appropriate rotation of the linear polar- izers, P α in the qubit q[0] and P β in the qubit q [3], they should show us the probability curves that are typical in this type of experiment.Then, defining the 2D rotation matrix for a generic angle θ as: Therefore, if we now define a generic outcome because of the application of the generic polarizer P θ , it results: Consequently, for the case of Fig. 7, in which we have a Bell state |β 00 � shared between the qubits q[0] and q [3], and a polarizer P α in the qubit q[0] and a polarizer P β in the qubit q [3], the associated probability is: The result obtained in Eq. (12a), corresponds to the case that before the polarizer P α , we do not activate any of the X or Z matrices.If instead, we decide to activate Pauli gates, as in the case of Fig. 5, for each remaining Bell state we will have: In the experiment on the optical table, we will evaluate the performance of Fig. 7 when we work with a Bell state of type |β 00 � between the qubits q[0] and q [3].In this case, we assign a fixed angle to P β from the set β = {0, π/4, π/2, 3π/4}, and for each of those angles, we rotate the polarizer P α completely.If the new entanglement swapping protocol works correctly, we should experimentally verify the coincidences or probabilities of Eq. (12a).

Optical table
Next, we will implement the experiments from the previous section on the optical table, for which this section is organized into three well-defined subsections: Preparation of the configuration common to both experiments.-Here,we will carry out the linear tomography 82 and the maximum likelihood tomography 82 from the experimental data of the two EPR sources of the |β 00 �-type used.With these, we calculate the respective density matrices of both sources.The density matrix from the linear tomography of Source #1 (LT1) is: while the density matrix from the maximum likelihood tomography of Source #1 (MT1) is: The density matrix from the linear tomography of Source #2 (LT2) is: while the density matrix from the maximum likelihood tomography of Source #2 (MT2) is: The four density matrices of Eq. ( 13) can be seen in Fig. 8. From these density matrices, we will obtain the tangle, the linear entropy, the Fidelity, and the errors.The state was calibrated several times to progressively improve the tangle.Two completely independent sources of entangled photons were used, from two 405nm pump lasers, with a range of power between 20mw and 50mW, and two pairs of solid blocks (5 × 5 × 3 mm 3 ) of β-barium-borate (BBO) crystal to produce Type-I down-conversion.In each source, one crystal was attached after another, where the second is rotated 90º with respect to the first.Although in each source, two Type-I crystals were used, the joint action of both crystals mutually rotated by 90º generates Bell states of the |β 00 �-type.
We use two identical gallium-nitride (GaN) diode lasers for two reasons: (a) it has greater stability and temperature control, and.
(b) its short wavelength allows us to work with efficient detectors of 810 nm.
Each blue diode laser beam (405 nm, 50mW) passes through a zero-order half-wave plate (HWP) with a phase of 22.5º, which represents a Hadamard matrix 6 .Then, the laser beam passes through a narrow bandpass filter or quartz plate of 405 nm, i.e., a ∝ -BBO, as a phase-matching crystal.Thanks to this, photons with a state of polarization of diagonal type |+� are obtained.At each source, a beam with that polarization enters the first crystal, it generates a pair |HH� , while upon entering the second crystal, it generates a pair |VV � , in such a way that together both pairs generate the state |β 00 �.
After each configuration of double Type-I crystal, a BBO is used on each beam.Besides, a block of pinhole + filter(808 nm) + lens at the entrance of each avalanche photodiode (APD).Other elements were used in the compensation and calibration phases.
Using a 405 nm laser pump, this configuration produces a 6º cone at the output of the second crystal, i.e., 3º for the branch known as signal (810 nm) and -3º for the branch known as idler (810 nm), with a phase matching angle for Type-I down-conversion of approximately 29º.In both figures, 9 and 11, the angle between both beams (signal and idler) was exaggerated to better appreciate the layout, where the beam path dimensions are not to scale.
Continuing with the implementation of the protocols of Figs. 9 and 11, both outgoing beams of the second BBO are deflected by two mirrors so that all the geometry of the protocol is completely contained within the useful perimeter of the optical table.A third beam collinear with the beam incident to the first BBO crystal and forming the same angle with respect to the two beams mentioned before (signal, and idler) is intercepted by a beam blocker.
Two dual-wavelength 405/810 nm polarizing beam-splitter (PBS) of 0.5″ × 0.5″ × 0.5″ are used in both experiments.When working at 810 nm, the APDs have an efficiency of 60%, and we have worked with acquisition times ranging from 50 ms to 1 s, with and without a block of pinhole + filter(808 nm) + lens before the APDs.A six-channel time-tagger device is used after the four APDs.
Several elements are not shown in Figs. 9 and 11 of both experiments on the optical table so as not to complicate them.
In both experiments, the quantum repeater is implemented thanks to a beam-splitter of 808/810 nm, four mirrors, a zero-order half-wave plate (HWP) with a phase of 22.5º, which represents a Hadamard matrix 6 , and two 810 nm calcite film polarizer fixed at horizontal polarization (which is good throughout the visible spectrum and has high extinction ratios).
Two lasers were used although a single one could have been used and resorted to the central outgoing beam of the spontaneous parametric down conversion (SPDC) process 77 at the exit of the first BBO crystal, so that it impacts a new pair of Type I crystals and thus generate the second pairs of entangled photons 83 , but we abandoned this option to avoid any eventual spurious coupling between the pairs of entangled photons from both sources that would disturb the performance of the experiments.In this way, aligning both independent configurations to produce entangled photons of the |β 00 �-type, the metrics obtained with each source were the following: As we can see, both sources have practically identical metrics, which is extremely convenient for the performance of both experiments.
Bell state change test.-Fig.9 shows the layout of this experiment, with two 808/810nm zero-order half-wave plates (HWP) employed for the implementation of the X and Z Pauli matrices with angles of {0, π/4} ⇌ {X, Z}, respectively.The intervention of these HWPs, as well as their values depends on the transition that is carried out between the original state generated by each source of entangled photons, i.e., |β 00 � , and the states that must be reached to verify the performance of the new protocol and that are the central axis of the present experiment, that is, {|β 01 �, |β 10 �, |β 11 �} .In this way, these transitions are: In Eq. ( 14), the identity matrix I represents the absence of an HWP in that position.The angles of both HWPs located in the upper beam of Fig. 9 are set manually, according to the transitions of Eq. ( 14).The results obtained by the six detectors, labeled from 1 to 6, are sent to their respective APDs, and from these to a time-tagger, which  www.nature.com/scientificreports/collects all the signals coming from the APDs at the same time and sends them to the computer to obtain the final density matrices of the four Bell states obtained.
Figure 10 shows the state density matrices in terms of the phase and the parity bits, both for the original state |β 00 � generated because of the action of the new protocol and those due to the transitions resulting from Eq. ( 14).In Fig. 5, those bits acted as exponents of the respective Pauli matrices {Z, X}, therefore, the parity and phase bits of Fig. 10 act as activation bits {b z , b x } of the HWPs that represent the Pauli matrices X and Z, giving rise to the transitions of Eq. ( 14), so that, for {b z , b x } = {0, 0}, we see the density matrix corresponding to the Bell state generated by the new protocol, i.e., |β 00 � , while for the remaining cases, we have {b A simple visual inspection shows the similarity between Figs. 6 and 10, theoretical and experimental, respectively, which tells us about the excellent performance of the new protocol, leaving no doubt that the extreme qubits of the protocol share a common |β 00 �-type entangled state.
Bell test from two independent sources of entangled photons.-Aswe can see in Fig. 11, at the end of the signal beam of Source #1, we interrupt the beam with the polarizer P α , while we do the same with Source #2, in its idler beam, with the polarizer P β .The P β polarizer, an 810nm calcite film polarizer, is set manually, while the P α polarizer can be implemented using some of the following configurations: (a) an 808/810 nm rotatable polarizer (P θ ), i.e., a unique and special variable-angle-device, where the angle of the polarizer is controlled using external commands coming from the waveplate controller, (b) two 808 nm electro-optical modulators (EOM): EOM(θ ) × P h × EOM(θ) , and (c) two 808/810 nm HWPs: HWP θ 2 × P h × HWP θ 2 .
In cases (b and c), the angle is also controlled by external commands coming from the waveplate controller.For this experiment, option (b) was used due to the availability of its components in our laboratory.
As we have mentioned previously, the experiment consists of manually setting the value of the polarizer P β at each of the following angles β = {0, π/4, π/2, 3π/4} and having the computer generate the necessary commands for the configuration of the option (b), corresponding a P α , sweep all the angles from 0 to 2π to plot the probability/ coincidence curves of Eq. (12a).In other words, we leave the polarizer P β fixed at one of the following angles β = {0, π/4, π/2, 3π/4} while P α makes a complete rotation controlled by the waveplate controller.In this way, we will carry out a complete plot of the curves of Eq. (12a) for the four angles of the polarizer P β .
If we now make θ = α-β, and define the following coincidence rates: • R(θ) is the coincidence rate in terms of the angle with both polarizers, • Ro is the coincidence rate with the two polarizers removed.Figure 12 shows the normalized coincidence rate R(θ)/Ro as a function of the relative polarizer orientation.Therefore, If Bob's polarizer P β is set to a polarization H (0º), and Alice's polarizer P α is fully and automatically rotated by the waveplate controller, it can be seen in the top-left curve of Fig. 12 that the coincidences start at a maximum since both Bob and Alice are with their horizontal polarizers.The maxima and minima alternate every π/2 rad on the graph scale).The accounts of this experiment are complementary to those of the following experiment.The curve in green represents the ideal or theoretical case of Eq. (12a), while the distribution of the red rings represents the curve that results from the coincidences found by the computer.Now, Bob's polarizer P β is set to a polarization V (π/2), and Alice's polarizer P α is again fully and automatically rotated by the waveplate controller, it can be seen in the top-right curve of Fig. 12 that the coincidences start at a minimum, since Alice always starts with horizontal polarization.In this case, the oscillations are also consistent, changing from minimum to maximum and vice versa every π/2 rad.Setting Bob P β 's polarizer to diagonal polarization D (π/4) or , and always carrying out the same procedure in the Alice P α polarizer, the lower-left , the complete rotation of Alice P α 's polarizer, always starting from the horizontal polarization, gives rise to the lower-right curve of Fig. 12, which also coincides perfectly with the expected results for this type of experiment.
Finally, the results of Fig. 12 are remarkably coincident with the theoretical probability expressed in Eq. (12a), which again proves the performance of the new protocol, given that if it did not carry out a true entanglement swapping process, it would be impossible to achieve the results of both experiments presented here.

Discussions
As we could observe throughout this study, the new protocol requires the intensive use of horizontal polarizers, such as those mentioned in Eq. (3).For this reason, this protocol can only be implemented optically, given that the version of the horizontal polarizers used in the physical computers of the IBM Q Experience program 84 , as well as those of Rigetti Computing 85 , called qubit reset gate, are of the type shown in Fig. 13.The problem with this implementation is the following: within the qubit reset gate highlighted in red and located in the qubit q[0] at the output of the entangled pair source of the |β 00 �-type, the quantum measurement module generates at its output at time t 1 an equiprobable result of type . This same result is projected to its partner qubit q[1] at that same moment.If the output of the quantum measurement module turns out to be |0� , the inverter Pauli matrix X is not activated, but if the output turns out to be |1� , then the inverter X is activated, so that the output of the qubit reset gate is always |0� at time t 2 .However, the qubit q[1] will end up with any of the two possible values, that is to say, the result necessary for the correct functioning of the protocol according to Eq. ( 5) is never generated.This way of implementing the qubit reset gate is known as the dynamic version, which is 1000 times faster than the static version, the latter being the version required by Eq. ( 5) to be able to correctly implement the new protocol on any platform of the IBM Q Experience program 84 or Rigetti Computing 85 .This is the reason why these companies do not implement a matrix version more like that of the linear polarizer used in optical implementations.Currently, the qubit reset gate is only implemented in the manner required by Eq. ( 5) in simulators such as Quirk 86 , and Quantum Programming Studio 87 .
Although not necessary for the correct operation of the protocol, the 3dB drop seen in Eq. (5f) can be compensated by an optical amplifier 88 .
For the experimental verification of the performance of the proposed protocol, two remarkably different experiments were carried out, both from a theoretical point of view, according to Figs. 5 and 7, as experimental on the optical table, from Figs. 9 and 11.The most outstanding difference between both experiments lies in the static nature of the first and dynamic nature of the second since in the experiment of Fig. 9, the angles of both HWP are set in order to establish which of the gates X and/or Z have to interrupt the beam corresponding to the signal ray of the upper pair, then the average of all the states measured in the computer and it is confirmed that we are in the presence of another Bell state different from the original one established in |β 00 � between the signal beam of the upper pair and the idler beam of the lower pair.On the other hand, in the experiment in Fig. 11, the polarizer P∝ of the signal beam of the upper pair rotates from 0º to 2π according to the orders of the waveplate controller, while the polarizer P β of the idler beam of the lower pair remains fixed at some of them four relevant cases, i.e., {H, V, D, A}.Both experiments equally show that they could only give the results obtained in Figs. 10 and 12 if the signal beam of the upper pair shares a |β 00 �-type state with the idler beam of the lower pair, i.e. if the new entanglement swapping protocol has worked correctly.
Regarding the savings in implementation costs of the proposed version of the entanglement swapping protocol compared to the original, we can say that for two independent EPR sources, which implies one quantum repeater, we save one {Controlled-Z, Controlled-X} pair and two classical channels, and for four independent EPR sources, which implies three quantum repeaters, we save three {Controlled-Z, Controlled-X} pairs and six classical channels, then, for N-independent EPR sources, which implies N-1 quantum repeaters, we save N-1 {Controlled-Z, Controlled-X} pair and 2(N-1) classical channels.
The configuration of the new protocol implies more than a simple saving of physical resources during the implementation of a certain network since the proposed architecture facilitates the creation of reusable and interchangeable commercial modules in a way as natural as if they were building blocks to be used in a wall.
Finally, although this new version of the entanglement swapping protocol does not use classical disambiguation channels or unitary transforms like the original version, the protocol itself does not transmit information, but simply couples and decouples conveniently qubits from two independent sources of entangled photons, generating a third entangled state common to the most extreme qubits of the configuration to extend the range of entanglement.In this way, the range extension is more efficient when implementing a quantum network in fiber optics or free-space configurations.

Conclusions
The possibility of eliminating multiple classical channels as well as the corresponding unitary transforms allows for dramatically lower implementation costs of the new entanglement swapping protocol compared to the original version for extensive fiber optic laying, as well as long distances between member satellites of a space quantum network, which shows a clear projection of the new protocol on the future quantum internet.Furthermore, the replacement of the classical channels and their corresponding unitary transforms with the linear horizontal polarizers significantly simplifies the implementation of the new protocol on the optical table for both experiments developed in this work to study its performance.All this translates into savings in quantum memory because the new protocol is clearly less sensitive to synchronization problems between qubits than its original counterpart. .This same result is projected to its partner qubit q[1].If the output of the quantum measurement module is |0� , the inverse X is not activated, but if the output is |1� , then the inverter X is activated, so that the output of the qubit reset gate is always |0� at time t 2 .However, the qubit q[1] will end up with any of the two possible values, thus not generating the result necessary for the correct functioning of the protocol according to Eq. ( 5).

Figure 5 .
Figure 5. Bell state change test: the same configuration of Fig. 1 with a pair of Pauli gates {X, Z} with their respective activation bits {b x , b z } in the qubit q[0], after entanglement swapping.

Figure 6 .
Figure 6.β b z b x states density matrices in terms of phase and parity bits.
(a) Preparation of the configuration common to both experiments, (b) Bell state change test, and (c) Bell test from two independent sources of entangled photons.

Figure 7 .
Figure 7. Bell test from two independent sources of entangled photons: one linear polarizer P α in q[0], and other P β in q[3] allow to complete the configuration to evaluate the coincidences based on angles α and β.

Figure 8 .
Figure 8. Density matrices from linear and maximum likelihood tomographies for both sources.

Figure 9 .
Figure 9. Bell state change test on the optical table.The angles of the HWPs located in the upper beam are set manually, such that {0, π/4} ⇌ {X, Z}, respectively.The results obtained by all the detectors, from 1 to 6, are sent to their respective APDs, and from these to a time-tagger, which collects all the signals coming from the APDs at the same time and sends them to the computer to obtain the final density matrices of the four Bell states obtained.

Figure 10 .
Figure 10.β b z b x states density matrices in terms of phase and parity

Figure 11 . 2 T
Figure 11.Bell test from two independent sources of entangled photons on the optical table.Taking into account everything common with the experiment in Fig.9, this experiment consists of two polarizers interrupting the upper and lower beam of the figure, one fixed, the lower one, at each of the angles β = {0, π/4, π/2, 3π/4}, while the other varies according to the commands that the computer sends to the waveplate controller, responsible for the variation of the angle in the upper polarizer.

Figure 13 .
Figure 13.Qubit reset gate in an entanglement context.A version of the horizontal polarizer P h in any physical machine of the IBM Q Experience program 84 , and the Rigetti Computing family 85 .Within the qubit reset gate located in the qubit q[0] at the output of the entangled pair source, the quantum measurement module generates at its output at time t 1 an equiprobable result of type |0� 50% , |1�50%.This same result is projected to its partner